<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<jsp:include page="includes/header.jsp" />

<form:form action="submitLogin.action" commandName="loginForm">
	<c:if test="${loginError}">
	<div class="ui-widget">
			<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"> 
				<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
				<strong>Your coach Name or password were incorrect!!!</strong></p>
			</div>
		</div>
		<br>
		<br>
	</c:if>
	<c:if test="${notLoggedIn}">
	<div class="ui-widget">
			<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;"> 
				<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
				<strong>You are not logged in!!!</strong></p>
			</div>
		</div>
		<br>
		<br>
	</c:if>
	<table width="75%">
		<tr>
			<td>Coach Name:</td>
			<td><form:input path="coachName" /></td>
		</tr>
		<tr>
			<td>Password:</td>
			<td><form:password path="password" /></td>
		</tr>
		<tr>
		<td colspan="2"><input type="submit" value="Submit"></input></td>
		</tr>		
	</table>
</form:form>
</html -->